const mongoose = require("../index");
let userSchema = new mongoose.Schema({
  username: String,
  pwd: Number,
});
let userModel = mongoose.model("lists", userSchema);
// userModel.insertMany(
//   [
//     { username: "wyp", pwd: 1234 },
//     { username: "yyqx", pwd: 8888 },
//   ],
//   (err, data) => {
//     // console.log(data);
//   }
// );
// userModel.deleteMany({name:'wyp'},(err,data)=>{

// })
module.exports = userModel;
